extern "C" {

#include <jni.h>
#include <android/log.h>

#define LOG_TAG "JNI_TAG"

#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__)

void Java_com_surfin_safe_keyboard_JNIMethod_addKey(JNIEnv *env, jclass type, jstring id_,
                                                    jstring text_);

void Java_com_surfin_safe_keyboard_JNIMethod_generateSecretKey(JNIEnv *env, jclass type);

jbyteArray Java_com_surfin_safe_keyboard_JNIMethod_encryption(JNIEnv *env, jclass type,
                                                              jbyteArray src_);

jbyteArray Java_com_surfin_safe_keyboard_JNIMethod_decryption(JNIEnv *env, jclass type,
                                                            jbyteArray src_);

jstring Java_com_surfin_safe_keyboard_JNIMethod_getKey(JNIEnv *env, jclass type, jstring id_);

void Java_com_surfin_safe_keyboard_JNIMethod_deleteKey(JNIEnv *env, jclass type, jstring id_);

void Java_com_surfin_safe_keyboard_JNIMethod_clearKey(JNIEnv *env, jclass type, jstring id_);

void Java_com_surfin_safe_keyboard_JNIMethod_releaseKey(JNIEnv *env, jclass type, jstring id_);
}